﻿using System;
using System.Data.Linq.Mapping;


namespace Concordia.Models.cs_Logged_Home
{
    public class WEB_SEL_CS_MAIN_CALENDARResult
    {

        private int _LOAN_KEY;
        private DateTime? _EFFECTIVE_DATE;
        private decimal? _AMOUNT;
        private decimal? _PRINCIPAL_BALANCE;
        private String _NAME;

        [Column(Storage = "_LOAN_KEY", DbType = "Int NOT NULL")]
        public int LOAN_KEY
        {
            get { return _LOAN_KEY; }
            set
            {
                if ((_LOAN_KEY != value))
                {
                    _LOAN_KEY = value;
                }
            }
        }

        [Column(Name = "[PAYMENT DUE DATE]", Storage = "_EFFECTIVE_DATE", DbType = "DateTime")]
        public DateTime? PAYMENT_DUE_DATE
        {
            get { return _EFFECTIVE_DATE; }
            set
            {
                if ((_EFFECTIVE_DATE != value))
                {
                    _EFFECTIVE_DATE = value;
                }
            }
        }

        [Column(Name = "[LATE FEES DUE]", Storage = "_PRINCIPAL_BALANCE", DbType = "Decimal(18,2)")]
        public decimal? PRINCIPAL_BALANCE
        {
            get { return _PRINCIPAL_BALANCE; }
            set
            {
                if ((_PRINCIPAL_BALANCE != value))
                {
                    _PRINCIPAL_BALANCE = value;
                }
            }
        }


        [Column(Name = "[CURRENT DUE AMOUNT]", Storage = "_NAME", DbType = "NVARCHAR(MAX)")]
        public String CURRENT_DUE_AMOUNT
        {
            get { return _NAME; }
            set
            {
                if ((_NAME != value))
                {
                    _NAME = value;
                }
            }
        }

        [Column(Name = "[DUE AMOUNT]", Storage = "_AMOUNT", DbType = "Decimal(18,2)")]
        public decimal? DUE_AMOUNT
        {
            get { return _AMOUNT; }
            set
            {
                if ((_AMOUNT != value))
                {
                    _AMOUNT = value;
                }
            }
        }
    }
}